<template>
  <div class="resize-box">
    <div class="resize-left"></div>
    <div class="resize-line"
      v-resize="{ min: 20, hoverColor: '#88f', lineColor: '#ccc', showHoverColor: false, direction: 'horizontal' }">
    </div>
    <div class="resize-middle"></div>
    <div class="resize-line" v-resize>
    </div>
    <div class="resize-right"></div>
  </div>
</template>

<script setup lang="ts">
</script>

<style scoped>
.resize-box {
  display: flex;
  height: 300px;
  width: 100%;
}

.resize-left {
  background-color: skyblue;
  width: calc(40% - 5px);
}

.resize-line {
  width: 5px;
  background-color: #ccc;
  cursor: col-resize;
}

.resize-middle {
  background-color: pink;
  width: calc(30% - 5px);
}

.resize-right {
  background-color: cadetblue;
  width: 30%;
}
</style>